package com.txx.vor;

import com.txx.pojo.User;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class LoginResult {
    public String token;
    public User user;

    public static LoginResult  getData(User user,String token){
        return new LoginResult(token,user);
    }
}
